<?php
	$obj=new ObjRequest();
	include("FCKeditor/fckeditor.php");
?>
<form name="f" action="?module=<?php echo $module?>&action=process&mode=add" method="post" enctype="multipart/form-data">
<div class="ContentTitle">
    <div class="left" style="padding-top:8px"><?php echo $objModule->ModuleName?></div>
    <div class="CMSButton right">
        <a onclick="f.submit()">Save</a>
        <a href="?module=<?php echo $module?>">Cancel</a>
    </div>    
    <div class="clear"></div>
</div>
<ul id="ContentTabs" class="shadetabs">
    <li><a id="linkTab1" onclick="ShowHideDiv('Tab',1,2,'link')" class="selected">Request</a></li>
    <li><a id="linkTab2" onclick="ShowHideDiv('Tab',2,2,'link')">Attachment</a></li>
    
</ul>       

<div id="Tab1" class="TabContainer ngt_Product">
<!-------------CONTENT OF EACH MODULE ---------------------------->
<table width="100%">
	
	<!--
	<tr>
		<td>
			Date:
		</td>
		<td>
			<input type='text' name='StartDate' value=""/>
							<a href="javascript:cal2.popup();"><img src='images/cal.gif' width='16' height='16' border='0' alt='Ngay Thang'></a>
	<script language='JavaScript'>
		var cal2 = new calendar2(document.forms['f'].elements['StartDate']);
		//var cal4 = new calendar1(document.forms['frmSubmit'].elements('txtDate'));
		cal2.year_scroll = true;
		cal2.time_comp = true;
</script>
		</td>
	</tr>
    -->
	<table width="100%">
	<tr>
		<td>
			Tiêu đề
		</td>
		<td>
			<input type="text" name="Title" />
		</td>
	</tr>
	<tr>
		<td>
			Detail:
		</td>
		<td>
			<?php
                $oFCKeditor = new FCKeditor('Detail') ;
                $oFCKeditor->BasePath = 'FCKeditor/';
                $oFCKeditor->Width  = '50%' ;
                $oFCKeditor->Height = '200' ;
                $oFCKeditor->ToolbarSet	= 'Basic' ;
                $oFCKeditor->Value = $_POST['Detail'];
                $oFCKeditor->Create() ; 
                ?>
		</td>
	</tr>
</table>

</table>
<!-------------END CONTENT OF EACH MODULE ---------------------------->
</div>
<div id="Tab2" class="TabContainer ngt_Product" style="display:none">
	<table border="1">
        <thead>
        <tr>
            <th style="text-align:center" width="200px">Hình</th>
            

            <th width="20px"></th>                    
        </tr>
       
        </thead>
      
        <tbody id="tblOptionValue">
        
        </tbody>     
                        
        <tfoot>
        <tr class="add">
            <td align="center" colspan="2">
               <a href="#" onclick="addOptionValue()">[Add]</a>
            </td>
        </tr>     
            
              
        </tfoot>             

	</table>
</div>

</form>